package IT10;

import java.io.File;
import java.io.IOException;

/*
File类删除功能
 */
public class FileDemo02 {
    public static void main(String[] args) throws IOException {
        File f1 = new File("E:\\myFile//java.txt");
        System.out.println(f1.createNewFile());
        System.out.println(f1.delete());
    }
}
